package com.zzsong.abstract_factory.impl;

import com.zzsong.abstract_factory.*;
import com.zzsong.abstract_factory.product.I3CPU;
import com.zzsong.abstract_factory.product.LenovoMainBoard;

public class Computer1 extends ComputerFactory {
    @Override
    public CPU createCPU() {
        return new I3CPU();
    }

    @Override
    public MainBoard createMainBoard() {
        return new LenovoMainBoard();
    }

    @Override
    public RAM createRAM() {
        return new SamsungRAM();
    }
}
